package main

import (
	"fmt"
	"math"
	"math/big"
)

func main() {
	im := big.NewInt(math.MaxInt64) //创建一个精度很高的int
	in := im
	io := big.NewInt(1956)
	var a int64
	fmt.Scanf("%d", &a)
	ip := big.NewInt(a)
	ip.Mul(im, in).Add(ip, im).Div(ip, io)
	fmt.Println(ip)

}
